package com.dingreading.cloud.mall.service;

import com.dingreading.cloud.common.base.R;
import com.dingreading.cloud.common.util.PageUtil;
import com.dingreading.cloud.mall.entity.Goods;
import com.mybatisflex.core.service.IService;

import java.util.List;
import java.util.Set;

/**
 * 服务层。
 *
 * @author Administrator
 * @since 2023-11-22
 */
public interface GoodsService extends IService<Goods> {

    R<Object> get(String storeUid, String staffUid, Long id);

    R<Object> pageListV2(PageUtil pageUtil, String storeUid, String staffUid, String name, Long categoryId);

    Set<Long> getCouponGoodsIdList(String storeUid, String staffUid);

    List<Long> idListByCategoryIdIn(Set<String> categoryIdList);
}
